﻿using HenuAlbum.ResponseModels;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.Json;
using System.Threading.Tasks;

namespace HenuAlbum.Utils
{
    public static class Constants
    {
        public static readonly string NoLoginAuthorizedResponse =
            JsonSerializer.Serialize(new IncorrectError("未登录或无权限访问!"), new JsonSerializerOptions()
            {
                PropertyNamingPolicy = JsonNamingPolicy.CamelCase
            });
        public static readonly string[] SuperRoles = new string[] { "管理员", "辅导员" };

        public static readonly string CarouselImagesPath = Path.Combine(Directory.GetCurrentDirectory(), "wwwroot", "api", "CarouselImages");
    }
}
